package cn.iocoder.yudao.module.shop.controller.admin.handlestrategy.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 手工费结算策略 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class ShopHandleStrategyExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("策略名称")
    private String name;

    @ExcelProperty("策略参数")
    private String strategy;

    @ExcelProperty("首充奖励百分比")
    private Integer firstChargeBonusRate;

    @ExcelProperty(value = "是否启用", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Boolean enabled;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
